.class public final Lnbisdk/mf;
.super Ljava/lang/Object;


# instance fields
.field private qQ:[I

.field private qR:[I


# direct methods
.method public constructor <init>([B)V
    .locals 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    array-length v0, p1

    div-int/lit8 v0, v0, 0x2

    new-array v1, v0, [I

    iput-object v1, p0, Lnbisdk/mf;->qQ:[I

    new-array v1, v0, [I

    iput-object v1, p0, Lnbisdk/mf;->qR:[I

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_0

    shl-int/lit8 v2, v1, 0x1

    invoke-direct {p0, v2, v1, p1}, Lnbisdk/mf;->a(II[B)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a(II[B)V
    .locals 6

    const v3, 0x8000

    const/4 v2, 0x0

    aget-byte v0, p3, p1

    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x8

    add-int/lit8 v1, p1, 0x1

    aget-byte v1, p3, v1

    and-int/lit16 v1, v1, 0xff

    or-int/2addr v0, v1

    move v1, v2

    move v4, v3

    :goto_0
    if-lez v4, :cond_2

    and-int v5, v4, v0

    if-lez v5, :cond_0

    or-int/2addr v2, v3

    :cond_0
    shr-int/lit8 v4, v4, 0x1

    and-int v5, v4, v0

    if-lez v5, :cond_1

    or-int/2addr v1, v3

    :cond_1
    shr-int/lit8 v4, v4, 0x1

    shr-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lnbisdk/mf;->qQ:[I

    shr-int/lit8 v3, v2, 0x2

    add-int/2addr v2, v3

    aput v2, v0, p2

    iget-object v0, p0, Lnbisdk/mf;->qR:[I

    shr-int/lit8 v2, v1, 0x2

    add-int/2addr v1, v2

    aput v1, v0, p2

    return-void
.end method
